#ifndef _FAULT_H_
#define _FAULT_H_

typedef enum
{

    FAULT_NONE = 0,   //无错误
    FAULT_REBOOT,   //死机重启错误
    FAULT_EDP,      //EDP协议错误
    FAULT_NODEVICE,   //硬件掉线错误，比如8266或者6311接触不良、sim卡接触不良等硬件原因引起的错误

} FAULT_TYPE;

class FAULT_CLASS
{

    public:
        void Fault_Process(void);
        unsigned char faultType;
        unsigned char faultTypeReport;

};

#endif

